public class h_10 {
    public static void main(String[] args) {
        double n=100;
        int count=0;
        double sum=0;
        while(count<10){
            sum=sum+n*1.5;
            count++;
            n=n/2;
        }
        System.out.println("经过"+sum+"米，"+n+"米高");
    }
}
